package threadpool;

/**
 * @Classname Task
 * @Description 任务
 * @Date 2024/1/7 19:43
 * @Author zhuzhenguo
 */
public class Task implements Runnable {
    @Override
    public void run() {
        try {
            Thread.sleep(500);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        System.out.println(Thread.currentThread().getName());
    }
}
